json.array! @sales_orders, partial: 'sales_orders/sales_order', as: :sales_order
